#include "Quaternion.h"
#include "MathUtils.h"

using namespace loco;

const Quaternion Quaternion::identity(0.0f, 0.0f, 0.0f, 1.0f);

//================================================================================
Quaternion::Quaternion(Vector3 const& euler)
{
	*this = Quaternion(rotation_matrix_from_euler(euler));
}